// phone容器缩放
import { computed } from 'vue'
import { useEditStore } from '@/store'

export default function usePhoneZoom() {
    const editStore = useEditStore()

    // 缩放值
    const phoneZoom = computed(() => editStore.phoneZoom)

    const getZoomNum = num => parseInt(num / phoneZoom.value)

    return {
        getZoomNum
    }
}